package assign3.party;

public class PartyGlue
{
	public static void main(String[] args)
	{
		int numStudents = 10;
		int kegSize = 100;
		
		Assign3_Bartender bartender = new Assign3_Bartender(kegSize, numStudents);
		
		Student[] students = new Student[numStudents];
		for(int id = 0; id < numStudents; ++id)
		{
			students[id] = new Student(bartender, id);
			new Thread(students[id]).start();
		}
		
		Runner runner = new Runner(bartender);
		new Thread(runner).start();
	}
}
